package com.macro.mall.portal.service;

import com.macro.mall.mgb.model.Member;

/**
 * @author wangwang
 * @version 1.0
 * @description 会员信息缓存业务类
 * @date 2025/7/22 20:59
 */
public interface UmsMemberCacheService {
    /**
     * 删除会员用户缓存
     */
    void delMember(Long memberId);

    /**
     * 获取会员用户缓存
     */
    Member getMember(String username);

    /**
     * 设置会员用户缓存
     */
    void setMember(Member member);

    /**
     * 设置验证码
     */
    void setAuthCode(String telephone, String authCode);

    /**
     * 获取验证码
     */
    String getAuthCode(String telephone);
}
